package com.mfrs;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public final class Constants {
	 
	private Constants() {
		// restrict instantiation		
	}
 
	private static final Date 	DATE_NEVER_EXPIRY = new Date(Long.MAX_VALUE);
	
	public static final int 	DEF_MIN_EYES_DISTANCE = 30;
	public static final int		MAX_MIN_EYES_DISTANCE = 240;
	public static final int		MIN_MIN_EYES_DISTANCE = 30;
	
	
	public static final int 	DEF_MAX_EYES_DISTANCE = 240;
	public static final int		MAX_MAX_EYES_DISTANCE = 640;
	public static final int		MIN_MAX_EYES_DISTANCE = 120;
	
	public static final int 	DEF_MAX_NUM_FACES = 1;
	public static final int		MAX_MAX_NUM_FACES = 3;
	public static final int		MIN_MAX_NUM_FACES = 1;
	
	public static final float	DEF_MIN_FACE_QUALITY_SCORE = 0.5f;
	public static final float	MIN_MIN_FACE_QUALITY_SCORE = 0.0f;
	public static final float	MAX_MIN_FACE_QUALITY_SCORE = 1.0f;
	
	public static String getDateNeverExpiryString(){
		
		SimpleDateFormat formatter =new SimpleDateFormat("yyyy-MM-dd", Locale.getDefault());
		return formatter.format(DATE_NEVER_EXPIRY);

	}	
}